package com.cmc.cloud.cmclink.doc;

import com.cmes.framework.web.apilog.config.CmesApiLogAutoConfiguration;
import com.cmes.framework.web.swagger.config.CmesSwaggerConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 项目的启动类
 *
 * @author lidesheng
 */
@SpringBootApplication(scanBasePackages = {"com.cmc.cloud.cmclink"}, exclude = {CmesApiLogAutoConfiguration.class, CmesSwaggerConfiguration.class})
@MapperScan(basePackages = {"com.cmc.cloud.cmclink.doc.mapper"})
@EnableFeignClients(basePackages = {"com.cmc.cloud.cmclink", "com.cmes"})
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableScheduling
public class BizServerApplication {

    public static void main(String[] args) {
        // 启动 Spring Boot 应用
        SpringApplication.run(BizServerApplication.class, args);
    }

}
